package com.example.captcha.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix ="datasource")
@Data
@Component
public class CaptchaProperties {
    private Integer width=200;
    private Integer height=100;
    private Integer codecount=4;
    private Integer thickness=4;
    /**
     * 这边new的话可以配置文件中就不会生效
     */
    private SessionProperties session;
}
